inherited FRelatorioUsuEmp: TFRelatorioUsuEmp
  Left = 467
  Top = 168
  Width = 1051
  Height = 894
  Caption = 'Relatorio Usuario por Empresa'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 13
  inherited RelPadrao: TRLReport
    DataSource = dsPadraoRelatorio
    inherited RLBand1: TRLBand
      Top = 86
      inherited RLDBText1: TRLDBText
        Width = 84
        DataField = 'EMPCODIGO'
        DataSource = dsPadraoRelatorio
      end
    end
    object RLBand2: TRLBand
      Left = 38
      Top = 38
      Width = 718
      Height = 48
      BandType = btColumnHeader
      object RLLabel1: TRLLabel
        Left = 32
        Top = 16
        Width = 44
        Height = 16
        Caption = 'C'#243'digo'
      end
    end
  end
  inherited QPadraoRelatorio: TQuery
    SQL.Strings = (
      'SELECT E.EMPCODIGO, E.EMPRAZAOSOCIAL, U.USUCODIGO, U.USUNOME'
      'FROM USUARIOS_EMPRESAS A, EMPRESA E, USUARIOS U'
      'WHERE U.USUCODIGO= A.USUCODIGO AND E.EMPCODIGO=A.EMPCODIGO')
    object QPadraoRelatorioEMPCODIGO: TIntegerField
      FieldName = 'EMPCODIGO'
      Origin = '"BDSISTEMA.FDB".EMPRESA.EMPCODIGO'
    end
    object QPadraoRelatorioEMPRAZAOSOCIAL: TStringField
      FieldName = 'EMPRAZAOSOCIAL'
      Origin = '"BDSISTEMA.FDB".EMPRESA.EMPRAZAOSOCIAL'
      FixedChar = True
      Size = 70
    end
    object QPadraoRelatorioUSUCODIGO: TIntegerField
      FieldName = 'USUCODIGO'
      Origin = '"BDSISTEMA.FDB".USUARIOS.USUCODIGO'
    end
    object QPadraoRelatorioUSUNOME: TStringField
      FieldName = 'USUNOME'
      Origin = '"BDSISTEMA.FDB".USUARIOS.USUNOME'
      FixedChar = True
      Size = 70
    end
  end
end
